# -*- coding: utf-8 -*-
"""
@Time ： 2023/9/15 13:33
@Auth ： y.h
@File ：BOM_entity.py
@IDE ：PyCharm
@Motto：The sooner you start to code, the longer the program will take. —— Roy Carlson
"""


class bom_entity:
    __num = None
    __level = None
    __part_name = None
    __part_id = None
    __vendor = None
    __SZHBG_2023: int = None
    __SZHBG_2024 = None
    __SZHBG_2025 = None
    __SZHBG_2026 = None
    __SZHBG_2027 = None
    __SZHBG_2028 = None
    __SZHBG_2029 = None
    __SZHBG_2030 = None
    __SZHBG_2031 = None
    __SZHBG_2032 = None
    __SZHBG_2033 = None
    __SZHBG_2034 = None
    __SZHBG_2035 = None
    __SZHBG_2036 = None
    __SZHBG_2037 = None
    __SZHBG_2038 = None
    __SZHBG_2039 = None
    __SZHBG_2040 = None

    def get_num(self):
        return self.__num

    def set_num(self, num):
        self.__num = num
        return self

    # getter and setter

    def get_level(self):
        return self.__level

    def set_level(self, level):
        self.__level = level
        return self

    def get_part_name(self):
        return self.__part_name

    def set_part_name(self, part_name):
        self.__part_name = part_name
        return self

    def get_part_id(self):
        return self.__part_id

    def set_part_id(self, part_id):
        self.__part_id = part_id
        return self

    def get_vendor(self):
        return self.__vendor

    def set_vendor(self, vendor):
        self.__vendor = vendor
        return self

    def get_SZHBG_2023(self):
        return self.__SZHBG_2023

    def set_SZHBG_2023(self, SZHBG_2023):
        self.__SZHBG_2023 = SZHBG_2023
        return self

    def get_SZHBG_2024(self):
        return self.__SZHBG_2024

    def set_SZHBG_2024(self, SZHBG_2024):
        self.__SZHBG_2024 = SZHBG_2024
        return self

    def get_SZHBG_2025(self):
        return self.__SZHBG_2025

    def set_SZHBG_2025(self, SZHBG_2025):
        self.__SZHBG_2025 = SZHBG_2025
        return self

    def get_SZHBG_2026(self):
        return self.__SZHBG_2026

    def set_SZHBG_2026(self, SZHBG_2026):
        self.__SZHBG_2026 = SZHBG_2026
        return self

    def get_SZHBG_2027(self):
        return self.__SZHBG_2027

    def set_SZHBG_2027(self, SZHBG_2027):
        self.__SZHBG_2027 = SZHBG_2027
        return self

    def get_SZHBG_2028(self):
        return self.__SZHBG_2028

    def set_SZHBG_2028(self, SZHBG_2028):
        self.__SZHBG_2028 = SZHBG_2028
        return self

    def get_SZHBG_2029(self):
        return self.__SZHBG_2029

    def set_SZHBG_2029(self, SZHBG_2029):
        self.__SZHBG_2029 = SZHBG_2029
        return self

    def get_SZHBG_2030(self):
        return self.__SZHBG_2030

    def set_SZHBG_2030(self, SZHBG_2030):
        self.__SZHBG_2030 = SZHBG_2030
        return self

    def get_SZHBG_2031(self):
        return self.__SZHBG_2031

    def set_SZHBG_2031(self, SZHBG_2031):
        self.__SZHBG_2031 = SZHBG_2031
        return self

    def get_SZHBG_2032(self):
        return self.__SZHBG_2032

    def set_SZHBG_2032(self, SZHBG_2032):
        self.__SZHBG_2032 = SZHBG_2032
        return self

    def get_SZHBG_2033(self):
        return self.__SZHBG_2033

    def set_SZHBG_2033(self, SZHBG_2033):
        self.__SZHBG_2033 = SZHBG_2033
        return self

    def get_SZHBG_2034(self):
        return self.__SZHBG_2034

    def set_SZHBG_2034(self, SZHBG_2034):
        self.__SZHBG_2034 = SZHBG_2034
        return self

    def get_SZHBG_2035(self):
        return self.__SZHBG_2035

    def set_SZHBG_2035(self, SZHBG_2035):
        self.__SZHBG_2035 = SZHBG_2035
        return self

    def get_SZHBG_2036(self):
        return self.__SZHBG_2036

    def set_SZHBG_2036(self, SZHBG_2036):
        self.__SZHBG_2036 = SZHBG_2036
        return self

    def get_SZHBG_2037(self):
        return self.__SZHBG_2037

    def set_SZHBG_2037(self, SZHBG_2037):
        self.__SZHBG_2037 = SZHBG_2037
        return self

    def get_SZHBG_2038(self):
        return self.__SZHBG_2038

    def set_SZHBG_2038(self, SZHBG_2038):
        self.__SZHBG_2038 = SZHBG_2038
        return self

    def get_SZHBG_2039(self):
        return self.__SZHBG_2039

    def set_SZHBG_2039(self, SZHBG_2039):
        self.__SZHBG_2039 = SZHBG_2039
        return self

    def get_SZHBG_2040(self):
        return self.__SZHBG_2040

    def set_SZHBG_2040(self, SZHBG_2040):
        self.__SZHBG_2040 = SZHBG_2040
        return self

    def get_entity_list(self) -> list:
        return [self.__level, self.__part_name, self.__part_id, self.__vendor,
                self.__SZHBG_2023,
                self.__SZHBG_2024,
                self.__SZHBG_2025,
                self.__SZHBG_2026,
                self.__SZHBG_2027,
                self.__SZHBG_2028,
                self.__SZHBG_2029,
                self.__SZHBG_2030,
                self.__SZHBG_2031,
                self.__SZHBG_2032,
                self.__SZHBG_2033,
                self.__SZHBG_2034,
                self.__SZHBG_2035,
                self.__SZHBG_2036,
                self.__SZHBG_2037,
                self.__SZHBG_2038,
                self.__SZHBG_2039,
                self.__SZHBG_2040]
